package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.PrizePoolEntity;
import com.jbp.model.WalletRecord;
import com.jbp.utils.PageUtils;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 钱包变动记录(WalletRecord)表服务接口
 * @author cc
 * @since 2020-06-20 09:43:00
 */
public interface WalletRecordService extends IService<WalletRecord> {
    PageUtils queryPage(Integer userId, Map<String, Object> params);

    List<WalletRecord> regalList(Map<String, Object> params);

    List<WalletRecord> hd5();

    //万元奖池房间排行帮
    List<PrizePoolEntity> prizePoolRank(Map<String, Object> params);

    //查询送礼物价值总和
    BigDecimal getChangeBalance(Integer userId);
}
